home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 102 / CD-ROM 102.iso / aplic / 2sync / 2SyncSetup.exe / modules / mt / panel / scripts / DefineButton2_368 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2002-03-20  |  547 b   |  21 lines

  1. on(release){
  2.    if(getTimer() - baseTime < eval("_level0/lib:DoubleClick"))
  3.    {
  4.       set("../../../codelib:event_id",id);
  5.       set("../../../codelib:startday",startday);
  6.       set("../../../codelib:startmonth",startmonth);
  7.       set("../../../codelib:startyear",startyear);
  8.       call("../../../codelib:view event");
  9.       tellTarget("_level40/sound")
  10.       {
  11.          gotoAndStop("beep2");
  12.       }
  13.    }
  14.    else
  15.    {
  16.       set("../../:event_select",_target);
  17.       call("../../:select");
  18.       baseTime = getTimer();
  19.    }
  20. }
  21.